package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.University;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.query.UniversityQueryObject;
import cn.wolfcode.crm.util.PageResult;
import org.apache.poi.ss.usermodel.Workbook;

import java.util.List;

public interface IUniversityService {
    void deleteByPrimaryKey(Long id);

    void insert(University entity);

    University selectByPrimaryKey(Long id);

    List<University> selectAll();

    void updateByPrimaryKey(University entity);

    PageResult query(QueryObject qo);

    void changState(Long id);

    Workbook exportXls(UniversityQueryObject qo);
}
